package cn.dengta.webapp.risk.dto;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class AgoraAudioDTO {

	/** 声网的的appId */
	private String appId;

	/** 声网的频道名 */
	private String channel;

	/** 声网提供的token */
	private String token;

	/** 用户UID */
	private String uid;

	public static AgoraAudioDTO of(String channelName, String appId, String token, String uid) {
		AgoraAudioDTO dto = new AgoraAudioDTO();
		dto.setChannel(channelName);
		dto.setAppId(appId);
		dto.setToken(token);
		dto.setUid(uid);
		return dto;
	}

}
